﻿@model IEnumerable<HomeDataCenterCore.Domain.ViewModels.FilmDataViewModel>

<div class="row">
    <div class="col-12">
        <h1>@ViewBag.Title</h1>
    </div>
</div>

<div class="row">
    <div class="col-12 table-responsive">
        <table class="table table-bordered">
            <thead class="thead-light">
                <tr>
                    <th style="display:none">
                        @Html.DisplayNameFor(model => model.Id)
                    </th>
                    <th>
                        @Html.DisplayNameFor(model => model.Name)
                    </th>
                    <th>
                        @Html.DisplayNameFor(model => model.Country)
                    </th>
                    <th>
                        @Html.DisplayNameFor(model => model.Language)
                    </th>
                    <th>
                        @Html.DisplayNameFor(model => model.FilmType)
                    </th>
                    <th>
                        @Html.DisplayNameFor(model => model.PlayType)
                    </th>
                    <th>
                        @Html.DisplayNameFor(model => model.UserRating)
                    </th>
                </tr>
            </thead>
            <tbody>
                @Html.DisplayForModel()
            </tbody>
        </table>
    </div>

</div>

<div class="row">
    <div class="col-12">
        <vc:page-link controller="FilmData" action="Index" paging-info="ViewBag.PagingInfo">
        </vc:page-link>
    </div>
</div>
